package cn.ccit.DAO;

import java.util.List;

import cn.ccit.entites.record.DishOrderRecord;
/**
 * 
 * @author wanghao
 * 点菜记录表（临时表）
 */
public interface DishOrderRecordDAO {
	public boolean addDishOrderRecord(DishOrderRecord doRecord);//添加记录
	public boolean removeDishOrderRecord(DishOrderRecord doRecord);//移除
	public boolean changeDishOrderRecordInfo(DishOrderRecord doRecord);//修改记录
	public boolean changeDataEnum(DishOrderRecord doRecord);
	public List<DishOrderRecord> getSomeDishOrderRecords(int start,int limit);//获取一定条数记录
	public DishOrderRecord searchDishOrderRecordByID(int id);//通过id搜索
	public List<DishOrderRecord> searchDishOrderRecordByTid(int tid);//通过餐桌id搜索
	public List<DishOrderRecord> searchDishOrderRecordByYear(String year);//通过年
	public List<DishOrderRecord> searchDishOrderRecordByMonth(String month);//通过月
	public List<DishOrderRecord> searchDishOrderRecordByDate(String date);//通过日
	public List<DishOrderRecord> searchDishOrderRecordBySerialsNumber(Long serialsNumber);//通过序列号
}
